import 'package:flutter/material.dart';
import 'conContainer.dart';
main()=>runApp(MyApp());

class MyApp extends StatelessWidget{

  Widget build(BuildContext context){
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("Column组件拓展"),
        ),
        body: Container(
          width: 500,
          height: 500,
          color: Colors.green,
          child: Column(
            //垂直排序方式
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            //次走
            crossAxisAlignment: CrossAxisAlignment.end,
            children: <Widget>[
              IconContainer(Icons.g_translate,color: Colors.greenAccent,),
              IconContainer(Icons.g_translate,color: Colors.amber,),
              IconContainer(Icons.g_translate,color: Colors.amber,),
            ],
          ),
        ),
      ),
    );
  }
}